
<!DOCTYPE HTML>
<html lang="zh" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>蓝牙围度尺 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    


    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="ble_user_scale.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="輸入並搜尋" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../guide/android.html">
            
                <a href="../guide/android.html">
            
                    
                    android
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../guide/ios.html">
            
                <a href="../guide/ios.html">
            
                    
                    ios
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    工作流程
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="ble_scale.html">
            
                <a href="ble_scale.html">
            
                    
                    普通蓝牙秤
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="ble_scale_custom_connect.html">
            
                <a href="ble_scale_custom_connect.html">
            
                    
                    普通蓝牙秤-自主管理蓝牙
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="kitchen_scale.html">
            
                <a href="kitchen_scale.html">
            
                    
                    厨房秤
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="ble_user_scale.html">
            
                <a href="ble_user_scale.html">
            
                    
                    用户秤
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.5" data-path="ble_ruler.html">
            
                <a href="ble_ruler.html">
            
                    
                    蓝牙围度尺
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    API
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html">
            
                    
                    QNBleApi
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1.1" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#initsdk">
            
                    
                    initSdk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.2" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#getcursystemblestate">
            
                    
                    getCurSystemBleState
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.3" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setsysblestatelistener">
            
                    
                    setSysBleStateListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.4" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setbledevicediscoverylistener">
            
                    
                    setBleDeviceDiscoveryListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.5" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setbleconnectionchangelistener">
            
                    
                    setBleConnectionChangeListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.6" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setdataListener">
            
                    
                    setDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.7" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setblekitchenlistener">
            
                    
                    setBleKitchenListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.8" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setloglistener">
            
                    
                    setLogListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.9" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#startbledevicediscovery">
            
                    
                    startBleDeviceDiscovery
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.10" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#stopbledevicediscovery">
            
                    
                    stopBleDeviceDiscovery
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.11" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#connectdevice">
            
                    
                    connectDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.12" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#connectuserscaledevice">
            
                    
                    connectUserScaleDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.13" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#connectblekitchendevice">
            
                    
                    connectBleKitchenDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.14" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setblekitchendeviceconfig">
            
                    
                    setBleKitchenDeviceConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.15" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#disconnectdevice">
            
                    
                    disconnectDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.16" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#getconfig">
            
                    
                    getConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.17" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#convertweightwithtargetunit">
            
                    
                    convertWeightWithTargetUnit
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.18" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#builddevice">
            
                    
                    buildDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.19" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#buildprotocolhandler">
            
                    
                    buildProtocolHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.20" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#generatescaledata">
            
                    
                    generateScaleData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.21" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#physiquecalculation">
            
                    
                    physiqueCalculation
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.22" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#switchuserscaleuser">
            
                    
                    switchUserScaleUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.23" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#updateuserscaleidentifyweight">
            
                    
                    updateUserScaleIdentifyWeight
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.24" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#deletescaleusers">
            
                    
                    deleteScaleUsers
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.25" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#setblerulerlistener">
            
                    
                    setBleRulerListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.1.26" data-path="../api/QNBleApi.html">
            
                <a href="../api/QNBleApi.html#connectrulerdevice">
            
                    
                    connectRulerDevice
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../api/QNUser.html">
            
                <a href="../api/QNUser.html">
            
                    
                    QNUser
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../api/QNScaleData.html">
            
                <a href="../api/QNScaleData.html">
            
                    
                    QNScaleData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../api/QNScaleStoreData.html">
            
                <a href="../api/QNScaleStoreData.html">
            
                    
                    QNScaleStoreData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../api/QNScaleItemData.html">
            
                <a href="../api/QNScaleItemData.html">
            
                    
                    QNScaleItemData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="../api/QNBleDevice.html">
            
                <a href="../api/QNBleDevice.html">
            
                    
                    QNBleDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="../api/QNBleBroadcastDevice.html">
            
                <a href="../api/QNBleBroadcastDevice.html">
            
                    
                    QNBleBroadcastDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="../api/QNBleKitchenDevice.html">
            
                <a href="../api/QNBleKitchenDevice.html">
            
                    
                    QNBleKitchenDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="../api/QNConfig.html">
            
                <a href="../api/QNConfig.html">
            
                    
                    QNConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="../api/QNWiFiConfig.html">
            
                <a href="../api/QNWiFiConfig.html">
            
                    
                    QNWiFiConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="../api/QNUserScaleConfig.html">
            
                <a href="../api/QNUserScaleConfig.html">
            
                    
                    QNUserScaleConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="../api/QNBleKitchenConfig.html">
            
                <a href="../api/QNBleKitchenConfig.html">
            
                    
                    QNBleKitchenConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="../api/QNBleStateListener.html">
            
                <a href="../api/QNBleStateListener.html">
            
                    
                    QNBleStateListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="../api/QNBleDeviceDiscoveryListener.html">
            
                <a href="../api/QNBleDeviceDiscoveryListener.html">
            
                    
                    QNBleDeviceDiscoveryListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.15" data-path="../api/QNBleConnectionChangeListener.html">
            
                <a href="../api/QNBleConnectionChangeListener.html">
            
                    
                    QNBleConnectionChangeListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.16" data-path="../api/QNScaleDataListener.html">
            
                <a href="../api/QNScaleDataListener.html">
            
                    
                    QNScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.17" data-path="../api/QNUserScaleDataListener.html">
            
                <a href="../api/QNUserScaleDataListener.html">
            
                    
                    QNUserScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.18" data-path="../api/QNBleKitchenListener.html">
            
                <a href="../api/QNBleKitchenListener.html">
            
                    
                    QNBleKitchenListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.19" data-path="../api/QNLogListener.html">
            
                <a href="../api/QNLogListener.html">
            
                    
                    QNLogListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.20" data-path="../api/QNResultCallback.html">
            
                <a href="../api/QNResultCallback.html">
            
                    
                    QNResultCallback
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.21" data-path="../api/QNShareData.html">
            
                <a href="../api/QNShareData.html">
            
                    
                    QNShareData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.22" data-path="../api/QNUtils.html">
            
                <a href="../api/QNUtils.html">
            
                    
                    QNUtils
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.23" data-path="../api/QNBleProtocolHandler.html">
            
                <a href="../api/QNBleProtocolHandler.html">
            
                    
                    QNBleProtocolHandler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.24" data-path="../api/QNBleProtocolDelegate.html">
            
                <a href="../api/QNBleProtocolDelegate.html">
            
                    
                    QNBleProtocolDelegate
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.25" data-path="../api/QNWspScaleDataListener.html">
            
                <a href="../api/QNWspScaleDataListener.html">
            
                    
                    QNWspScaleDataListener
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.26" data-path="../api/QNBleRulerDevice.html">
            
                <a href="../api/QNBleRulerDevice.html">
            
                    
                    QNBleRulerDevice
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.27" data-path="../api/QNBleRulerData.html">
            
                <a href="../api/QNBleRulerData.html">
            
                    
                    QNBleRulerData
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.28" data-path="../api/QNBleRulerListener.html">
            
                <a href="../api/QNBleRulerListener.html">
            
                    
                    QNBleRulerListener
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    附表
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../attouched_list/faq.html">
            
                <a href="../attouched_list/faq.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../attouched_list/body_indexes.html">
            
                <a href="../attouched_list/body_indexes.html">
            
                    
                    身体指标常量
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../attouched_list/device_type.html">
            
                <a href="../attouched_list/device_type.html">
            
                    
                    设备类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../attouched_list/display_module_type.html">
            
                <a href="../attouched_list/display_module_type.html">
            
                    
                    显示模块类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../attouched_list/body_shape.html">
            
                <a href="../attouched_list/body_shape.html">
            
                    
                    体型对照表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../attouched_list/error_code.html">
            
                <a href="../attouched_list/error_code.html">
            
                    
                    错误码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../attouched_list/scan_error.html">
            
                <a href="../attouched_list/scan_error.html">
            
                    
                    扫描错误码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="../attouched_list/scale_state.html">
            
                <a href="../attouched_list/scale_state.html">
            
                    
                    秤状态定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="../attouched_list/scale_event.html">
            
                <a href="../attouched_list/scale_event.html">
            
                    
                    秤事件定义
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.10" data-path="../attouched_list/area_type.html">
            
                <a href="../attouched_list/area_type.html">
            
                    
                    区域类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.11" data-path="../attouched_list/test_list.html">
            
                <a href="../attouched_list/test_list.html">
            
                    
                    测试用例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.12" data-path="../attouched_list/policy.html">
            
                <a href="../attouched_list/policy.html">
            
                    
                    隐私协议
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.13" data-path="../history/history.html">
            
                <a href="../history/history.html">
            
                    
                    更新日志
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本書使用 GitBook 釋出
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >蓝牙围度尺</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x84DD;&#x7259;&#x56F4;&#x5EA6;&#x5C3A;">&#x84DD;&#x7259;&#x56F4;&#x5EA6;&#x5C3A;</h1>
<ul>
<li>&#x8BBE;&#x5907; <code>&#x5F00;&#x5173;&#x952E;</code> &#x77ED;&#x6309;&#x5F00;&#x673A;,&#x957F;&#x6309;&#x5173;&#x952E;;</li>
<li>&#x8BBE;&#x5907; <code>&#x529F;&#x80FD;&#x952E;</code> &#x77ED;&#x6309;&#x9501;&#x5B9A;&#x672C;&#x6B21;&#x6D4B;&#x91CF;&#x6570;&#x636E;,&#x957F;&#x6309;&#x5207;&#x6362;&#x8BBE;&#x5907;&#x5355;&#x4F4D;&#x3002;</li>
</ul>
<h2 id="&#x56F4;&#x5EA6;&#x5C3A;sdk&#x63A5;&#x5165;&#x6B65;&#x9AA4;">&#x56F4;&#x5EA6;&#x5C3A;SDK&#x63A5;&#x5165;&#x6B65;&#x9AA4;</h2>
<h3 id="&#x4E00;&#x3001;&#x521D;&#x59CB;&#x5316;qnsdk">&#x4E00;&#x3001;&#x521D;&#x59CB;&#x5316;QNSDK</h3>
<p>&#x4F7F;&#x7528;<a href="../api/QNBleApi.html#initSdk">QNBleApi.initSdk</a>&#x8FDB;&#x884C;&#x521D;&#x59CB;&#x5316;&#xFF0C;&#x524D;&#x6587;&#x5DF2;&#x6709;&#x76F8;&#x5173;&#x4ECB;&#x7ECD;&#xFF0C;<a href="../#&#x5F00;&#x53D1;&#x6D41;&#x7A0B;">&#x8BF7;&#x67E5;&#x770B;</a></p>
<h3 id="&#x4E8C;&#x3001;&#x8BBE;&#x7F6E;&#x56F4;&#x5EA6;&#x5C3A;&#x56DE;&#x8C03;&#x76D1;&#x542C;&#x7C7B;">&#x4E8C;&#x3001;&#x8BBE;&#x7F6E;&#x56F4;&#x5EA6;&#x5C3A;&#x56DE;&#x8C03;&#x76D1;&#x542C;&#x7C7B;</h3>
<p>&#x5728;&#x5F00;&#x542F;&#x84DD;&#x7259;&#x626B;&#x63CF;&#x524D;&#xFF0C;&#x9700;&#x8981;&#x8BBE;&#x7F6E;&#x76D1;&#x542C;&#x7C7B;&#xFF0C;&#x65B9;&#x6CD5;&#x4E3A;<a href="../api/QNBleApi.html#setblerulerlistener">QNBleApi.setBleRulerListener</a>&#xFF0C;&#x8BE5;&#x65B9;&#x6CD5;&#x53EA;&#x9700;&#x8981;&#x8C03;&#x7528;&#x4E00;&#x6B21;&#x5373;&#x53EF;&#xFF0C;&#x5728;&#x786E;&#x5B9A;&#x4E0D;&#x9700;&#x8981;&#x626B;&#x63CF;&#x8BB0;&#x5F97;&#x8BBE;&#x7F6E;&#x4E3A; null/nil</p>
<p>android &#x793A;&#x4F8B;&#xFF1A;</p>
<pre><code class="lang-java">QNBleApi mQNBleApi = QNBleApi.getInstance(context);
mQNBleApi.setBleRulerListener(<span class="hljs-keyword">this</span>)
</code></pre>
<p>iOS &#x793A;&#x4F8B;&#xFF1A;</p>
<pre><code>//&#x8BBE;&#x7F6E;&#x4EE3;&#x7406;
QNBleApi *bleApi = [QNBleApi sharedBleApi];
bleApi.bleRulerListener = self;
</code></pre><h3 id="&#x4E09;&#x3001;&#x5B9E;&#x73B0;&#x56F4;&#x5EA6;&#x5C3A;&#x56DE;&#x8C03;&#x76D1;&#x542C;&#x65B9;&#x6CD5;">&#x4E09;&#x3001;&#x5B9E;&#x73B0;&#x56F4;&#x5EA6;&#x5C3A;&#x56DE;&#x8C03;&#x76D1;&#x542C;&#x65B9;&#x6CD5;</h3>
<p>&#x5B9E;&#x73B0;&#x56F4;&#x5EA6;&#x5C3A;&#x56DE;&#x8C03;&#x76D1;&#x542C;&#x65B9;&#x6CD5;, QNSDK&#x4F1A;&#x628A;&#x53D1;&#x73B0;&#x7684;&#x8BBE;&#x7F6E; &#x8BBE;&#x5907;&#x94FE;&#x63A5;&#x72B6;&#x6001; &#x4EE5;&#x53CA;&#x6D4B;&#x91CF;&#x6570;&#x636E;&#x7ED3;&#x679C;&#x56DE;&#x8C03;&#x5230;&#x5B9E;&#x73B0;&#x76D1;&#x542C;&#x7684;&#x65B9;&#x6CD5;&#x4E2D;</p>
<p>android &#x793A;&#x4F8B;&#xFF1A;</p>
<pre><code class="lang-java">    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onRulerDeviceDiscover</span><span class="hljs-params">(QNBleRulerDevice device)</span> </span>{
      <span class="hljs-comment">//&#x53D1;&#x73B0;&#x56F4;&#x5EA6;&#x5C3A;</span>
    }

    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onRulerConnecting</span><span class="hljs-params">(QNBleRulerDevice device)</span> </span>{
      <span class="hljs-comment">//&#x6B63;&#x5728;&#x8FDE;&#x63A5;</span>
    }

    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onRulerConnected</span><span class="hljs-params">(QNBleRulerDevice device)</span> </span>{
      <span class="hljs-comment">//&#x8FDE;&#x63A5;&#x6210;&#x529F;</span>
    }

    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onGetReceiveRealTimeData</span><span class="hljs-params">(QNBleRulerData data, QNBleRulerDevice device)</span> </span>{
      <span class="hljs-comment">//&#x5B9E;&#x65F6;&#x6D4B;&#x91CF;&#x6570;&#x636E;</span>
    }

    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onGetReceiveResultData</span><span class="hljs-params">(QNBleRulerData data, QNBleRulerDevice device)</span> </span>{
      <span class="hljs-comment">//&#x7528;&#x6237;&#x64CD;&#x4F5C;&#x786E;&#x5B9A;&#x6570;&#x636E;</span>
    }

    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onRulerDisconnected</span><span class="hljs-params">(QNBleRulerDevice device)</span> </span>{
      <span class="hljs-comment">//&#x65AD;&#x5F00;&#x8FDE;&#x63A5;</span>
    }

    <span class="hljs-meta">@Override</span>
    <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onRulerConnectFail</span><span class="hljs-params">(QNBleRulerDevice device)</span> </span>{
      <span class="hljs-comment">//&#x94FE;&#x63A5;&#x5931;&#x8D25;</span>
    }
</code></pre>
<p>iOS &#x793A;&#x4F8B;&#xFF1A;</p>
<pre><code>- (void)onRulerDeviceDiscover:(QNBleRulerDevice *)device {
   ///&#x53D1;&#x73B0;&#x56F4;&#x5EA6;&#x5C3A;
}

- (void)onRulerConnecting:(QNBleRulerDevice *)device {
   ///&#x6B63;&#x5728;&#x8FDE;&#x63A5;
}

- (void)onRulerConnectFail:(QNBleRulerDevice *)device {
   ///&#x94FE;&#x63A5;&#x5931;&#x8D25;
}

- (void)onRulerConnected:(QNBleRulerDevice *)device {
   ///&#x8FDE;&#x63A5;&#x6210;&#x529F;
}

- (void)onRulerDisconnected:(QNBleRulerDevice *)device {
   ///&#x65AD;&#x5F00;&#x8FDE;&#x63A5;
}

- (void)onGetReceiveRealTimeData:(QNBleRulerData *)data device:(QNBleRulerDevice *)device {
   ///&#x5B9E;&#x65F6;&#x6D4B;&#x91CF;&#x6570;&#x636E;
}

- (void)onGetReceiveResultData:(QNBleRulerData *)data device:(QNBleRulerDevice *)device {
   ///&#x7528;&#x6237;&#x64CD;&#x4F5C;&#x786E;&#x5B9A;&#x6570;&#x636E;
}
</code></pre><h3 id="&#x56DB;&#x3001;&#x542F;&#x52A8;&#x84DD;&#x7259;&#x626B;&#x63CF;">&#x56DB;&#x3001;&#x542F;&#x52A8;&#x84DD;&#x7259;&#x626B;&#x63CF;</h3>
<p>&#x786E;&#x8BA4;&#x84DD;&#x7259;&#x5DF2;&#x6253;&#x5F00;&#xFF0C;&#x5B89;&#x5353;&#x8FD9;&#x8FB9;&#x8FD8;&#x9700;&#x8981;&#x68C0;&#x67E5;&#x4E0B;<code>&#x5B9A;&#x4F4D;&#x6743;&#x9650;</code>&#x548C;<code>&#x5B9A;&#x4F4D;&#x5F00;&#x5173;</code>&#x3002;&#x5982;&#x679C;&#x786E;&#x8BA4;&#x84DD;&#x7259;&#x5DF2;&#x6253;&#x5F00;&#xFF0C;&#x5B9A;&#x4F4D;&#x6743;&#x9650;&#x5DF2;&#x6388;&#x6743;&#xFF0C;&#x5B9A;&#x4F4D;&#x670D;&#x52A1;&#x5F00;&#x5173;&#x5DF2;&#x6253;&#x5F00;&#xFF0C;&#x5219;&#x53EF;&#x4EE5;&#x5F00;&#x59CB;&#x84DD;&#x7259;&#x626B;&#x63CF;</p>
<blockquote>
<p>&#x5B89;&#x5353; 6.0 &#x4EE5;&#x540E;&#xFF0C;&#x5BF9; targetSdkVersion&gt;=23 &#x4EE5;&#x4E0A;&#x7684; APP&#xFF0C;&#x8FDB;&#x884C;&#x84DD;&#x7259;&#x626B;&#x63CF;&#x9700;&#x8981;&#x83B7;&#x53D6;&#x5B9A;&#x4F4D;&#x6743;&#x9650;&#xFF0C;&#x8BE6;&#x7EC6;&#x8BF4;&#x660E;&#x67E5;&#x770B;<a href="https://developer.android.com/guide/topics/connectivity/bluetooth-le" target="_blank">&#x5173;&#x4E8E;</a>
&#x5B9A;&#x4F4D;&#x670D;&#x52A1;&#x5F00;&#x5173;&#x4E0D;&#x662F;&#x5F3A;&#x5236;&#x6027;&#x7684;&#xFF0C;&#x4F46;&#x662F;&#x67D0;&#x4E9B;&#x624B;&#x673A;&#x4E0D;&#x6253;&#x5F00;&#x8FD9;&#x4E2A;&#x5F00;&#x5173;&#xFF0C;&#x4E5F;&#x65E0;&#x6CD5;&#x626B;&#x63CF;&#x5230;&#x8BBE;&#x5907;&#xFF0C;&#x8DDF;&#x5404;&#x5BB6;&#x7684;&#x624B;&#x673A;&#x7CFB;&#x7EDF;&#x76F8;&#x5173;</p>
<p>iOS13&#x7CFB;&#x7EDF;&#x589E;&#x52A0;&#x4E86;&#x84DD;&#x7259;&#x4F7F;&#x7528;&#x6743;&#x9650;&#xFF0C;&#x9700;&#x8981;&#x68C0;&#x67E5;&#x662F;&#x5426;&#x6709;&#x4F7F;&#x7528;&#x6743;&#x9650;&#xFF0C;&#x786E;&#x8BA4;&#x5DF2;&#x6388;&#x6743;&#x5E76;&#x4E14;&#x84DD;&#x7259;&#x5DF2;&#x6253;&#x5F00;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x5F00;&#x59CB;&#x626B;&#x63CF;</p>
</blockquote>
<p>&#x626B;&#x63CF;&#x65B9;&#x6CD5;&#x4E3A;<a href="../api/QNBleApi.html#startbledevicediscovery">QNBleApi.startBleDeviceDiscovery</a>&#xFF0C;&#x626B;&#x63CF;&#x5230;&#x7684;&#x8BBE;&#x5907;&#x6570;&#x636E;&#xFF0C;&#x4F1A;&#x5728;&#x4E0A;&#x9762;&#x8BBE;&#x7F6E;&#x7684;&#x626B;&#x63CF;&#x63A5;&#x53E3;&#x4E2D;<a href="../api/QNBleDeviceDiscoveryListener.html">QNBleDeviceDiscoveryListener</a>&#x56DE;&#x8C03;&#x3002;</p>
<p>&#x53E6;&#x5916;&#x6709;&#x5173;&#x626B;&#x63CF;&#x7684;&#x4E00;&#x4E9B;&#x7279;&#x6027;&#x8BBE;&#x7F6E;&#xFF0C;&#x53EF;&#x4EE5;&#x5728;<a href="../api/QNConfig.html">QNConfig</a>&#x8FDB;&#x884C;&#x8BBE;&#x7F6E;&#xFF0C;&#x9700;&#x8981;&#x8BBE;&#x7F6E;&#x7684;&#x5185;&#x5BB9;&#x5DF2;&#x57FA;&#x672C;&#x8986;&#x76D6;&#x3002;</p>
<p>android&#x793A;&#x4F8B;&#xFF1A;</p>
<pre><code class="lang-java">QNBleApi.getInstance(context).startBleDeviceDiscovery(<span class="hljs-keyword">new</span> QNResultCallback() {
            <span class="hljs-meta">@Override</span>
            <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onResult</span><span class="hljs-params">(<span class="hljs-keyword">int</span> code, String msg)</span> </span>{
                <span class="hljs-comment">//&#x8BE5;&#x65B9;&#x6CD5;&#x5E76;&#x4E0D;&#x56DE;&#x5230;&#x8BBE;&#x5907;&#xFF0C;&#x800C;&#x662F;&#x8868;&#x793A;&#x626B;&#x63CF;&#x662F;&#x5426;&#x542F;&#x52A8;&#x6210;&#x529F;</span>
                <span class="hljs-keyword">if</span> (code != CheckStatus.OK.getCode()) {
                   ToastMaker.show(ScanActivity.<span class="hljs-keyword">this</span>,code+<span class="hljs-string">&quot;:&quot;</span>+msg);
                }
            }
        });
</code></pre>
<p>iOS&#x793A;&#x4F8B;:</p>
<pre><code>//&#x542F;&#x52A8;&#x626B;&#x63CF;
[[QNBleApi sharedBleApi] startBleDeviceDiscovery:^(NSError *error) {
    //&#x8BE5;&#x5904;&#x56DE;&#x8C03;&#x8868;&#x793A;&#x542F;&#x52A8;&#x626B;&#x63CF;&#x65B9;&#x6CD5;&#x662F;&#x5426;&#x6210;&#x529F;
    if (error) {
        NSLog([NSString stringWithFormat:@&quot;&#x542F;&#x52A8;&#x626B;&#x63CF;&#x65B9;&#x6CD5;&#x5931;&#x8D25;,&#x539F;&#x56E0;: %@&quot;,error]);
    }
}];
</code></pre><h3 id="&#x56DB;&#x3001;&#x8FDE;&#x63A5;&#x56F4;&#x5EA6;&#x76D1;&#x542C;&#x65B9;&#x6CD5;&#x56DE;&#x8C03;&#x8BBE;&#x5907;">&#x56DB;&#x3001;&#x8FDE;&#x63A5;&#x56F4;&#x5EA6;&#x76D1;&#x542C;&#x65B9;&#x6CD5;&#x56DE;&#x8C03;&#x8BBE;&#x5907;</h3>
<p>&#x6536;&#x5230;&#x56DE;&#x8C03;&#x8BBE;&#x5907;&#x540E;&#xFF0C;&#x53EF;&#x4EE5;&#x5224;&#x65AD;&#x662F;&#x5426;&#x4E3A;&#x9700;&#x8981;&#x8FDE;&#x63A5;&#x7684;&#x8BBE;&#x5907;&#xFF08;&#x8FD9;&#x4E2A;&#x5C5E;&#x4E8E; APP &#x7684;&#x4E1A;&#x52A1;&#x903B;&#x8F91;&#xFF09;&#xFF0C;&#x5982;&#x679C;&#x662F;&#x7684;&#x8BDD;&#x5C31;&#x8FDB;&#x884C;&#x8FDE;&#x63A5;<a href="../api/QNBleApi.html#connectrulerdevice">QNBleApi.connectRulerDevice</a>&#x3002;</p>
<p>android&#x793A;&#x4F8B;:</p>
<pre><code class="lang-java">        QNBleApi.getInstance(RulerActivity.<span class="hljs-keyword">this</span>).connectRulerDevice(qnBleRulerDevice, <span class="hljs-keyword">new</span> QNResultCallback() {
            <span class="hljs-meta">@Override</span>
            <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onResult</span><span class="hljs-params">(<span class="hljs-keyword">int</span> code, String msg)</span> </span>{

            }
        });
</code></pre>
<p>iOS&#x793A;&#x4F8B;:</p>
<pre><code>   [_bleApi connectRulerDevice:device callback:^(NSError *error) {

    }];
</code></pre><h3 id="&#x4E94;&#x3001;&#x63A5;&#x6536;&#x65F6;&#x65F6;&#x6570;&#x636E;&#x4E0E;&#x7528;&#x6237;&#x786E;&#x5B9A;&#x6570;&#x636E;">&#x4E94;&#x3001;&#x63A5;&#x6536;&#x65F6;&#x65F6;&#x6570;&#x636E;&#x4E0E;&#x7528;&#x6237;&#x786E;&#x5B9A;&#x6570;&#x636E;</h3>
<p>&#x65F6;&#x65F6;&#x6570;&#x636E;,&#x5F53;SDK&#x4E0E;&#x56F4;&#x5EA6;&#x5C3A;&#x5EFA;&#x7ACB;&#x597D;&#x84DD;&#x7259;&#x8FDE;&#x63A5;&#x540E;, &#x56F4;&#x5EA6;&#x5C3A;&#x4F1A;&#x4E3B;&#x52A8;&#x4E0A;&#x62A5;&#x5F53;&#x524D;&#x5C3A;&#x5B50;&#x957F;&#x5EA6;&#x6570;&#x503C;&#x4E0E;&#x5355;&#x4F4D;&#x3002;
&#x7528;&#x6237;&#x786E;&#x5B9A;&#x6570;&#x636E;,&#x5F53;&#x7528;&#x6237;&#x77ED;&#x6309;<code>&#x529F;&#x80FD;&#x952E;</code>&#x65F6;, &#x56F4;&#x5EA6;&#x5C3A;&#x4F1A;&#x4E3B;&#x52A8;&#x4E0A;&#x62A5;&#x7528;&#x6237;&#x6309;&#x4E0B;<code>&#x529F;&#x80FD;&#x952E;</code>&#x65F6;&#x5C3A;&#x5B50;&#x957F;&#x5EA6;&#x6570;&#x503C;&#x4E0E;&#x5355;&#x4F4D;&#x3002;</p>
<h3 id="&#x516D;&#x3001;&#x65AD;&#x5F00;&#x94FE;&#x63A5;">&#x516D;&#x3001;&#x65AD;&#x5F00;&#x94FE;&#x63A5;</h3>
<p>&#x56F4;&#x5EA6;&#x5C3A;&#x65AD;&#x5F00;&#x8FDE;&#x63A5;,&#x5206;&#x4E3A;:SDK&#x8F6F;&#x4EF6;&#x4E3B;&#x52A8;&#x65AD;&#x5F00;&#x4E0E;&#x56F4;&#x5EA6;&#x5C3A;&#x8BBE;&#x5907;&#x4E3B;&#x52A8;&#x65AD;&#x5F00;&#x4E24;&#x79CD;&#x3002;&#x4E24;&#x79CD;&#x65AD;&#x5F00;&#x65B9;&#x5F0F;&#x90FD;&#x4F1A;&#x89E6;&#x53D1;&#x56F4;&#x5EA6;&#x5C3A;&#x76D1;&#x542C;&#x8BBE;&#x5907;&#x65AD;&#x5F00;&#x8FDE;&#x63A5;&#x65B9;&#x6CD5;&#x3002;
SDK&#x8F6F;&#x4EF6;&#x4E3B;&#x52A8;&#x65AD;&#x5F00;&#x8FDE;&#x63A5;<a href="../api/QNBleApi.html#disconnectdevice">QNBleApi.disconnectDevice</a>
android&#x793A;&#x4F8B;:</p>
<pre><code class="lang-java">        QNBleApi.getInstance(RulerActivity.<span class="hljs-keyword">this</span>).disconnectDevice(mac, <span class="hljs-keyword">new</span> QNResultCallback() {
            <span class="hljs-meta">@Override</span>
            <span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">onResult</span><span class="hljs-params">(<span class="hljs-keyword">int</span> i, String s)</span> </span>{

            }
        });
</code></pre>
<p>iOS&#x793A;&#x4F8B;:</p>
<pre><code>   [_bleApi disconnectDeviceWithMac:_ruler.mac callback:^(NSError *error) {


    }];
</code></pre>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="ble_user_scale.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 用户秤">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"蓝牙围度尺","level":"1.4.5","depth":2,"next":{"title":"API","level":"1.5","depth":1,"ref":"","articles":[{"title":"QNBleApi","level":"1.5.1","depth":2,"path":"api/QNBleApi.md","ref":"api/QNBleApi.md","articles":[{"title":"initSdk","level":"1.5.1.1","depth":3,"anchor":"#initsdk","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#initsdk","articles":[]},{"title":"getCurSystemBleState","level":"1.5.1.2","depth":3,"anchor":"#getcursystemblestate","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#getcursystemblestate","articles":[]},{"title":"setSysBleStateListener","level":"1.5.1.3","depth":3,"anchor":"#setsysblestatelistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setsysblestatelistener","articles":[]},{"title":"setBleDeviceDiscoveryListener","level":"1.5.1.4","depth":3,"anchor":"#setbledevicediscoverylistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setbledevicediscoverylistener","articles":[]},{"title":"setBleConnectionChangeListener","level":"1.5.1.5","depth":3,"anchor":"#setbleconnectionchangelistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setbleconnectionchangelistener","articles":[]},{"title":"setDataListener","level":"1.5.1.6","depth":3,"anchor":"#setdataListener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setdataListener","articles":[]},{"title":"setBleKitchenListener","level":"1.5.1.7","depth":3,"anchor":"#setblekitchenlistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setblekitchenlistener","articles":[]},{"title":"setLogListener","level":"1.5.1.8","depth":3,"anchor":"#setloglistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setloglistener","articles":[]},{"title":"startBleDeviceDiscovery","level":"1.5.1.9","depth":3,"anchor":"#startbledevicediscovery","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#startbledevicediscovery","articles":[]},{"title":"stopBleDeviceDiscovery","level":"1.5.1.10","depth":3,"anchor":"#stopbledevicediscovery","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#stopbledevicediscovery","articles":[]},{"title":"connectDevice","level":"1.5.1.11","depth":3,"anchor":"#connectdevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#connectdevice","articles":[]},{"title":"connectUserScaleDevice","level":"1.5.1.12","depth":3,"anchor":"#connectuserscaledevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#connectuserscaledevice","articles":[]},{"title":"connectBleKitchenDevice","level":"1.5.1.13","depth":3,"anchor":"#connectblekitchendevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#connectblekitchendevice","articles":[]},{"title":"setBleKitchenDeviceConfig","level":"1.5.1.14","depth":3,"anchor":"#setblekitchendeviceconfig","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setblekitchendeviceconfig","articles":[]},{"title":"disconnectDevice","level":"1.5.1.15","depth":3,"anchor":"#disconnectdevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#disconnectdevice","articles":[]},{"title":"getConfig","level":"1.5.1.16","depth":3,"anchor":"#getconfig","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#getconfig","articles":[]},{"title":"convertWeightWithTargetUnit","level":"1.5.1.17","depth":3,"anchor":"#convertweightwithtargetunit","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#convertweightwithtargetunit","articles":[]},{"title":"buildDevice","level":"1.5.1.18","depth":3,"anchor":"#builddevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#builddevice","articles":[]},{"title":"buildProtocolHandler","level":"1.5.1.19","depth":3,"anchor":"#buildprotocolhandler","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#buildprotocolhandler","articles":[]},{"title":"generateScaleData","level":"1.5.1.20","depth":3,"anchor":"#generatescaledata","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#generatescaledata","articles":[]},{"title":"physiqueCalculation","level":"1.5.1.21","depth":3,"anchor":"#physiquecalculation","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#physiquecalculation","articles":[]},{"title":"switchUserScaleUser","level":"1.5.1.22","depth":3,"anchor":"#switchuserscaleuser","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#switchuserscaleuser","articles":[]},{"title":"updateUserScaleIdentifyWeight","level":"1.5.1.23","depth":3,"anchor":"#updateuserscaleidentifyweight","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#updateuserscaleidentifyweight","articles":[]},{"title":"deleteScaleUsers","level":"1.5.1.24","depth":3,"anchor":"#deletescaleusers","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#deletescaleusers","articles":[]},{"title":"setBleRulerListener","level":"1.5.1.25","depth":3,"anchor":"#setblerulerlistener","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#setblerulerlistener","articles":[]},{"title":"connectRulerDevice","level":"1.5.1.26","depth":3,"anchor":"#connectrulerdevice","path":"api/QNBleApi.md","ref":"api/QNBleApi.md#connectrulerdevice","articles":[]}]},{"title":"QNUser","level":"1.5.2","depth":2,"path":"api/QNUser.md","ref":"api/QNUser.md","articles":[]},{"title":"QNScaleData","level":"1.5.3","depth":2,"path":"api/QNScaleData.md","ref":"api/QNScaleData.md","articles":[]},{"title":"QNScaleStoreData","level":"1.5.4","depth":2,"path":"api/QNScaleStoreData.md","ref":"api/QNScaleStoreData.md","articles":[]},{"title":"QNScaleItemData","level":"1.5.5","depth":2,"path":"api/QNScaleItemData.md","ref":"api/QNScaleItemData.md","articles":[]},{"title":"QNBleDevice","level":"1.5.6","depth":2,"path":"api/QNBleDevice.md","ref":"api/QNBleDevice.md","articles":[]},{"title":"QNBleBroadcastDevice","level":"1.5.7","depth":2,"path":"api/QNBleBroadcastDevice.md","ref":"api/QNBleBroadcastDevice.md","articles":[]},{"title":"QNBleKitchenDevice","level":"1.5.8","depth":2,"path":"api/QNBleKitchenDevice.md","ref":"api/QNBleKitchenDevice.md","articles":[]},{"title":"QNConfig","level":"1.5.9","depth":2,"path":"api/QNConfig.md","ref":"api/QNConfig.md","articles":[]},{"title":"QNWiFiConfig","level":"1.5.10","depth":2,"path":"api/QNWiFiConfig.md","ref":"api/QNWiFiConfig.md","articles":[]},{"title":"QNUserScaleConfig","level":"1.5.11","depth":2,"path":"api/QNUserScaleConfig.md","ref":"api/QNUserScaleConfig.md","articles":[]},{"title":"QNBleKitchenConfig","level":"1.5.12","depth":2,"path":"api/QNBleKitchenConfig.md","ref":"api/QNBleKitchenConfig.md","articles":[]},{"title":"QNBleStateListener","level":"1.5.13","depth":2,"path":"api/QNBleStateListener.md","ref":"api/QNBleStateListener.md","articles":[]},{"title":"QNBleDeviceDiscoveryListener","level":"1.5.14","depth":2,"path":"api/QNBleDeviceDiscoveryListener.md","ref":"api/QNBleDeviceDiscoveryListener.md","articles":[]},{"title":"QNBleConnectionChangeListener","level":"1.5.15","depth":2,"path":"api/QNBleConnectionChangeListener.md","ref":"api/QNBleConnectionChangeListener.md","articles":[]},{"title":"QNScaleDataListener","level":"1.5.16","depth":2,"path":"api/QNScaleDataListener.md","ref":"api/QNScaleDataListener.md","articles":[]},{"title":"QNUserScaleDataListener","level":"1.5.17","depth":2,"path":"api/QNUserScaleDataListener.md","ref":"api/QNUserScaleDataListener.md","articles":[]},{"title":"QNBleKitchenListener","level":"1.5.18","depth":2,"path":"api/QNBleKitchenListener.md","ref":"api/QNBleKitchenListener.md","articles":[]},{"title":"QNLogListener","level":"1.5.19","depth":2,"path":"api/QNLogListener.md","ref":"api/QNLogListener.md","articles":[]},{"title":"QNResultCallback","level":"1.5.20","depth":2,"path":"api/QNResultCallback.md","ref":"api/QNResultCallback.md","articles":[]},{"title":"QNShareData","level":"1.5.21","depth":2,"path":"api/QNShareData.md","ref":"api/QNShareData.md","articles":[]},{"title":"QNUtils","level":"1.5.22","depth":2,"path":"api/QNUtils.md","ref":"api/QNUtils.md","articles":[]},{"title":"QNBleProtocolHandler","level":"1.5.23","depth":2,"path":"api/QNBleProtocolHandler.md","ref":"api/QNBleProtocolHandler.md","articles":[]},{"title":"QNBleProtocolDelegate","level":"1.5.24","depth":2,"path":"api/QNBleProtocolDelegate.md","ref":"api/QNBleProtocolDelegate.md","articles":[]},{"title":"QNWspScaleDataListener","level":"1.5.25","depth":2,"path":"api/QNWspScaleDataListener.md","ref":"api/QNWspScaleDataListener.md","articles":[]},{"title":"QNBleRulerDevice","level":"1.5.26","depth":2,"path":"api/QNBleRulerDevice.md","ref":"api/QNBleRulerDevice.md","articles":[]},{"title":"QNBleRulerData","level":"1.5.27","depth":2,"path":"api/QNBleRulerData.md","ref":"api/QNBleRulerData.md","articles":[]},{"title":"QNBleRulerListener","level":"1.5.28","depth":2,"path":"api/QNBleRulerListener.md","ref":"api/QNBleRulerListener.md","articles":[]}]},"previous":{"title":"用户秤","level":"1.4.4","depth":2,"path":"flow/ble_user_scale.md","ref":"flow/ble_user_scale.md","articles":[]},"dir":"ltr"},"config":{"plugins":["mermaid-gb3"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"mermaid-gb3":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"zh","gitbook":"*"},"file":{"path":"flow/ble_ruler.md","mtime":"2022-12-12T02:59:26.591Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-01-16T11:02:39.181Z"},"basePath":"..","book":{"language":"zh"}});
        });
    </script>
</div>

        
    
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    <script src="../../gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>

    </body>
</html>

